package com.wxiao.exam;

import com.wxiao.exam.pojo.ClassDO;
import com.wxiao.exam.pojo.vo.ClassListVO;
import com.wxiao.exam.pojo.vo.ClassVO;
import com.wxiao.exam.pojo.vo.ExamVO;
import com.wxiao.exam.pojo.vo.TeacherVO;

import java.util.List;

/** 
 * <br/>
 * Created by wangxiao on 2019/07/07
 */
public interface ClassService {

	Result addClass(ClassVO classVO) throws Exception;

	Result updateClass(ClassVO classVO) throws Exception;
	
	Result findDetailClass(ClassVO classVO) throws Exception;
	
	PageBean<ClassListVO> listClass(ClassVO classVO) throws Exception;

    Result listClassPage(ClassVO classVO) throws Exception;
	
	Result countClass(ClassVO classVO) throws Exception;
	
	Result deleteClass(ClassVO classVO) throws Exception;

    List<ClassDO> listByTeacher(TeacherVO teacherVO);

	List<ClassDO> listClass2(ClassVO classVO);

    Result listClassByExam(ExamVO classByEXAM);
}